home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / livecd.squashfs / usr / lib / mozilla-firefox / include / dom / nsIDOMNSHTMLDocument.h < prev    next >
C/C++ Source or Header  |  2006-05-08  |  21KB  |  473 lines

  1. /*
  2.  * DO NOT EDIT.  THIS FILE IS GENERATED FROM nsIDOMNSHTMLDocument.idl
  3.  */
  4.  
  5. #ifndef __gen_nsIDOMNSHTMLDocument_h__
  6. #define __gen_nsIDOMNSHTMLDocument_h__
  7.  
  8.  
  9. #ifndef __gen_domstubs_h__
  10. #include "domstubs.h"
  11. #endif
  12.  
  13. /* For IDL files that don't want to include root IDL files. */
  14. #ifndef NS_NO_VTABLE
  15. #define NS_NO_VTABLE
  16. #endif
  17.  
  18. /* starting interface:    nsIDOMNSHTMLDocument */
  19. #define NS_IDOMNSHTMLDOCUMENT_IID_STR "79beb289-3644-4b54-9432-9fb993945629"
  20.  
  21. #define NS_IDOMNSHTMLDOCUMENT_IID \
  22.   {0x79beb289, 0x3644, 0x4b54, \
  23.     { 0x94, 0x32, 0x9f, 0xb9, 0x93, 0x94, 0x56, 0x29 }}
  24.  
  25. class NS_NO_VTABLE nsIDOMNSHTMLDocument : public nsISupports {
  26.  public: 
  27.  
  28.   NS_DEFINE_STATIC_IID_ACCESSOR(NS_IDOMNSHTMLDOCUMENT_IID)
  29.  
  30.   /* readonly attribute long width; */
  31.   NS_IMETHOD GetWidth(PRInt32 *aWidth) = 0;
  32.  
  33.   /* readonly attribute long height; */
  34.   NS_IMETHOD GetHeight(PRInt32 *aHeight) = 0;
  35.  
  36.   /* attribute DOMString alinkColor; */
  37.   NS_IMETHOD GetAlinkColor(nsAString & aAlinkColor) = 0;
  38.   NS_IMETHOD SetAlinkColor(const nsAString & aAlinkColor) = 0;
  39.  
  40.   /* attribute DOMString linkColor; */
  41.   NS_IMETHOD GetLinkColor(nsAString & aLinkColor) = 0;
  42.   NS_IMETHOD SetLinkColor(const nsAString & aLinkColor) = 0;
  43.  
  44.   /* attribute DOMString vlinkColor; */
  45.   NS_IMETHOD GetVlinkColor(nsAString & aVlinkColor) = 0;
  46.   NS_IMETHOD SetVlinkColor(const nsAString & aVlinkColor) = 0;
  47.  
  48.   /* attribute DOMString bgColor; */
  49.   NS_IMETHOD GetBgColor(nsAString & aBgColor) = 0;
  50.   NS_IMETHOD SetBgColor(const nsAString & aBgColor) = 0;
  51.  
  52.   /* attribute DOMString fgColor; */
  53.   NS_IMETHOD GetFgColor(nsAString & aFgColor) = 0;
  54.   NS_IMETHOD SetFgColor(const nsAString & aFgColor) = 0;
  55.  
  56.   /* attribute DOMString domain; */
  57.   NS_IMETHOD GetDomain(nsAString & aDomain) = 0;
  58.   NS_IMETHOD SetDomain(const nsAString & aDomain) = 0;
  59.  
  60.   /* readonly attribute nsIDOMHTMLCollection embeds; */
  61.   NS_IMETHOD GetEmbeds(nsIDOMHTMLCollection * *aEmbeds) = 0;
  62.  
  63.   /* DOMString getSelection (); */
  64.   NS_IMETHOD GetSelection(nsAString & _retval) = 0;
  65.  
  66.   /* nsIDOMDocument open (in ACString aContentType, in boolean aReplace); */
  67.   NS_IMETHOD Open(const nsACString & aContentType, PRBool aReplace, nsIDOMDocument **_retval) = 0;
  68.  
  69.   /* void write (); */
  70.   NS_IMETHOD Write(void) = 0;
  71.  
  72.   /* void writeln (); */
  73.   NS_IMETHOD Writeln(void) = 0;
  74.  
  75.   /* void clear (); */
  76.   NS_IMETHOD Clear(void) = 0;
  77.  
  78.   /* void captureEvents (in long eventFlags); */
  79.   NS_IMETHOD CaptureEvents(PRInt32 eventFlags) = 0;
  80.  
  81.   /* void releaseEvents (in long eventFlags); */
  82.   NS_IMETHOD ReleaseEvents(PRInt32 eventFlags) = 0;
  83.  
  84.   /* void routeEvent (in nsIDOMEvent evt); */
  85.   NS_IMETHOD RouteEvent(nsIDOMEvent *evt) = 0;
  86.  
  87.   /* readonly attribute DOMString compatMode; */
  88.   NS_IMETHOD GetCompatMode(nsAString & aCompatMode) = 0;
  89.  
  90.   /* readonly attribute nsIDOMHTMLCollection plugins; */
  91.   NS_IMETHOD GetPlugins(nsIDOMHTMLCollection * *aPlugins) = 0;
  92.  
  93.   /**
  94.     * Midas additions
  95.     */
  96.   /* attribute DOMString designMode; */
  97.   NS_IMETHOD GetDesignMode(nsAString & aDesignMode) = 0;
  98.   NS_IMETHOD SetDesignMode(const nsAString & aDesignMode) = 0;
  99.  
  100.   /* boolean execCommand (in DOMString commandID, in boolean doShowUI, in DOMString value); */
  101.   NS_IMETHOD ExecCommand(const nsAString & commandID, PRBool doShowUI, const nsAString & value, PRBool *_retval) = 0;
  102.  
  103.   /* boolean execCommandShowHelp (in DOMString commandID); */
  104.   NS_IMETHOD ExecCommandShowHelp(const nsAString & commandID, PRBool *_retval) = 0;
  105.  
  106.   /* boolean queryCommandEnabled (in DOMString commandID); */
  107.   NS_IMETHOD QueryCommandEnabled(const nsAString & commandID, PRBool *_retval) = 0;
  108.  
  109.   /* boolean queryCommandIndeterm (in DOMString commandID); */
  110.   NS_IMETHOD QueryCommandIndeterm(const nsAString & commandID, PRBool *_retval) = 0;
  111.  
  112.   /* boolean queryCommandState (in DOMString commandID); */
  113.   NS_IMETHOD QueryCommandState(const nsAString & commandID, PRBool *_retval) = 0;
  114.  
  115.   /* boolean queryCommandSupported (in DOMString commandID); */
  116.   NS_IMETHOD QueryCommandSupported(const nsAString & commandID, PRBool *_retval) = 0;
  117.  
  118.   /* DOMString queryCommandText (in DOMString commandID); */
  119.   NS_IMETHOD QueryCommandText(const nsAString & commandID, nsAString & _retval) = 0;
  120.  
  121.   /* DOMString queryCommandValue (in DOMString commandID); */
  122.   NS_IMETHOD QueryCommandValue(const nsAString & commandID, nsAString & _retval) = 0;
  123.  
  124. };
  125.  
  126. /* Use this macro when declaring classes that implement this interface. */
  127. #define NS_DECL_NSIDOMNSHTMLDOCUMENT \
  128.   NS_IMETHOD GetWidth(PRInt32 *aWidth); \
  129.   NS_IMETHOD GetHeight(PRInt32 *aHeight); \
  130.   NS_IMETHOD GetAlinkColor(nsAString & aAlinkColor); \
  131.   NS_IMETHOD SetAlinkColor(const nsAString & aAlinkColor); \
  132.   NS_IMETHOD GetLinkColor(nsAString & aLinkColor); \
  133.   NS_IMETHOD SetLinkColor(const nsAString & aLinkColor); \
  134.   NS_IMETHOD GetVlinkColor(nsAString & aVlinkColor); \
  135.   NS_IMETHOD SetVlinkColor(const nsAString & aVlinkColor); \
  136.   NS_IMETHOD GetBgColor(nsAString & aBgColor); \
  137.   NS_IMETHOD SetBgColor(const nsAString & aBgColor); \
  138.   NS_IMETHOD GetFgColor(nsAString & aFgColor); \
  139.   NS_IMETHOD SetFgColor(const nsAString & aFgColor); \
  140.   NS_IMETHOD GetDomain(nsAString & aDomain); \
  141.   NS_IMETHOD SetDomain(const nsAString & aDomain); \
  142.   NS_IMETHOD GetEmbeds(nsIDOMHTMLCollection * *aEmbeds); \
  143.   NS_IMETHOD GetSelection(nsAString & _retval); \
  144.   NS_IMETHOD Open(const nsACString & aContentType, PRBool aReplace, nsIDOMDocument **_retval); \
  145.   NS_IMETHOD Write(void); \
  146.   NS_IMETHOD Writeln(void); \
  147.   NS_IMETHOD Clear(void); \
  148.   NS_IMETHOD CaptureEvents(PRInt32 eventFlags); \
  149.   NS_IMETHOD ReleaseEvents(PRInt32 eventFlags); \
  150.   NS_IMETHOD RouteEvent(nsIDOMEvent *evt); \
  151.   NS_IMETHOD GetCompatMode(nsAString & aCompatMode); \
  152.   NS_IMETHOD GetPlugins(nsIDOMHTMLCollection * *aPlugins); \
  153.   NS_IMETHOD GetDesignMode(nsAString & aDesignMode); \
  154.   NS_IMETHOD SetDesignMode(const nsAString & aDesignMode); \
  155.   NS_IMETHOD ExecCommand(const nsAString & commandID, PRBool doShowUI, const nsAString & value, PRBool *_retval); \
  156.   NS_IMETHOD ExecCommandShowHelp(const nsAString & commandID, PRBool *_retval); \
  157.   NS_IMETHOD QueryCommandEnabled(const nsAString & commandID, PRBool *_retval); \
  158.   NS_IMETHOD QueryCommandIndeterm(const nsAString & commandID, PRBool *_retval); \
  159.   NS_IMETHOD QueryCommandState(const nsAString & commandID, PRBool *_retval); \
  160.   NS_IMETHOD QueryCommandSupported(const nsAString & commandID, PRBool *_retval); \
  161.   NS_IMETHOD QueryCommandText(const nsAString & commandID, nsAString & _retval); \
  162.   NS_IMETHOD QueryCommandValue(const nsAString & commandID, nsAString & _retval); 
  163.  
  164. /* Use this macro to declare functions that forward the behavior of this interface to another object. */
  165. #define NS_FORWARD_NSIDOMNSHTMLDOCUMENT(_to) \
  166.   NS_IMETHOD GetWidth(PRInt32 *aWidth) { return _to GetWidth(aWidth); } \
  167.   NS_IMETHOD GetHeight(PRInt32 *aHeight) { return _to GetHeight(aHeight); } \
  168.   NS_IMETHOD GetAlinkColor(nsAString & aAlinkColor) { return _to GetAlinkColor(aAlinkColor); } \
  169.   NS_IMETHOD SetAlinkColor(const nsAString & aAlinkColor) { return _to SetAlinkColor(aAlinkColor); } \
  170.   NS_IMETHOD GetLinkColor(nsAString & aLinkColor) { return _to GetLinkColor(aLinkColor); } \
  171.   NS_IMETHOD SetLinkColor(const nsAString & aLinkColor) { return _to SetLinkColor(aLinkColor); } \
  172.   NS_IMETHOD GetVlinkColor(nsAString & aVlinkColor) { return _to GetVlinkColor(aVlinkColor); } \
  173.   NS_IMETHOD SetVlinkColor(const nsAString & aVlinkColor) { return _to SetVlinkColor(aVlinkColor); } \
  174.   NS_IMETHOD GetBgColor(nsAString & aBgColor) { return _to GetBgColor(aBgColor); } \
  175.   NS_IMETHOD SetBgColor(const nsAString & aBgColor) { return _to SetBgColor(aBgColor); } \
  176.   NS_IMETHOD GetFgColor(nsAString & aFgColor) { return _to GetFgColor(aFgColor); } \
  177.   NS_IMETHOD SetFgColor(const nsAString & aFgColor) { return _to SetFgColor(aFgColor); } \
  178.   NS_IMETHOD GetDomain(nsAString & aDomain) { return _to GetDomain(aDomain); } \
  179.   NS_IMETHOD SetDomain(const nsAString & aDomain) { return _to SetDomain(aDomain); } \
  180.   NS_IMETHOD GetEmbeds(nsIDOMHTMLCollection * *aEmbeds) { return _to GetEmbeds(aEmbeds); } \
  181.   NS_IMETHOD GetSelection(nsAString & _retval) { return _to GetSelection(_retval); } \
  182.   NS_IMETHOD Open(const nsACString & aContentType, PRBool aReplace, nsIDOMDocument **_retval) { return _to Open(aContentType, aReplace, _retval); } \
  183.   NS_IMETHOD Write(void) { return _to Write(); } \
  184.   NS_IMETHOD Writeln(void) { return _to Writeln(); } \
  185.   NS_IMETHOD Clear(void) { return _to Clear(); } \
  186.   NS_IMETHOD CaptureEvents(PRInt32 eventFlags) { return _to CaptureEvents(eventFlags); } \
  187.   NS_IMETHOD ReleaseEvents(PRInt32 eventFlags) { return _to ReleaseEvents(eventFlags); } \
  188.   NS_IMETHOD RouteEvent(nsIDOMEvent *evt) { return _to RouteEvent(evt); } \
  189.   NS_IMETHOD GetCompatMode(nsAString & aCompatMode) { return _to GetCompatMode(aCompatMode); } \
  190.   NS_IMETHOD GetPlugins(nsIDOMHTMLCollection * *aPlugins) { return _to GetPlugins(aPlugins); } \
  191.   NS_IMETHOD GetDesignMode(nsAString & aDesignMode) { return _to GetDesignMode(aDesignMode); } \
  192.   NS_IMETHOD SetDesignMode(const nsAString & aDesignMode) { return _to SetDesignMode(aDesignMode); } \
  193.   NS_IMETHOD ExecCommand(const nsAString & commandID, PRBool doShowUI, const nsAString & value, PRBool *_retval) { return _to ExecCommand(commandID, doShowUI, value, _retval); } \
  194.   NS_IMETHOD ExecCommandShowHelp(const nsAString & commandID, PRBool *_retval) { return _to ExecCommandShowHelp(commandID, _retval); } \
  195.   NS_IMETHOD QueryCommandEnabled(const nsAString & commandID, PRBool *_retval) { return _to QueryCommandEnabled(commandID, _retval); } \
  196.   NS_IMETHOD QueryCommandIndeterm(const nsAString & commandID, PRBool *_retval) { return _to QueryCommandIndeterm(commandID, _retval); } \
  197.   NS_IMETHOD QueryCommandState(const nsAString & commandID, PRBool *_retval) { return _to QueryCommandState(commandID, _retval); } \
  198.   NS_IMETHOD QueryCommandSupported(const nsAString & commandID, PRBool *_retval) { return _to QueryCommandSupported(commandID, _retval); } \
  199.   NS_IMETHOD QueryCommandText(const nsAString & commandID, nsAString & _retval) { return _to QueryCommandText(commandID, _retval); } \
  200.   NS_IMETHOD QueryCommandValue(const nsAString & commandID, nsAString & _retval) { return _to QueryCommandValue(commandID, _retval); } 
  201.  
  202. /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
  203. #define NS_FORWARD_SAFE_NSIDOMNSHTMLDOCUMENT(_to) \
  204.   NS_IMETHOD GetWidth(PRInt32 *aWidth) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetWidth(aWidth); } \
  205.   NS_IMETHOD GetHeight(PRInt32 *aHeight) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetHeight(aHeight); } \
  206.   NS_IMETHOD GetAlinkColor(nsAString & aAlinkColor) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAlinkColor(aAlinkColor); } \
  207.   NS_IMETHOD SetAlinkColor(const nsAString & aAlinkColor) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetAlinkColor(aAlinkColor); } \
  208.   NS_IMETHOD GetLinkColor(nsAString & aLinkColor) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLinkColor(aLinkColor); } \
  209.   NS_IMETHOD SetLinkColor(const nsAString & aLinkColor) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetLinkColor(aLinkColor); } \
  210.   NS_IMETHOD GetVlinkColor(nsAString & aVlinkColor) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetVlinkColor(aVlinkColor); } \
  211.   NS_IMETHOD SetVlinkColor(const nsAString & aVlinkColor) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetVlinkColor(aVlinkColor); } \
  212.   NS_IMETHOD GetBgColor(nsAString & aBgColor) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetBgColor(aBgColor); } \
  213.   NS_IMETHOD SetBgColor(const nsAString & aBgColor) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetBgColor(aBgColor); } \
  214.   NS_IMETHOD GetFgColor(nsAString & aFgColor) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetFgColor(aFgColor); } \
  215.   NS_IMETHOD SetFgColor(const nsAString & aFgColor) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetFgColor(aFgColor); } \
  216.   NS_IMETHOD GetDomain(nsAString & aDomain) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDomain(aDomain); } \
  217.   NS_IMETHOD SetDomain(const nsAString & aDomain) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetDomain(aDomain); } \
  218.   NS_IMETHOD GetEmbeds(nsIDOMHTMLCollection * *aEmbeds) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetEmbeds(aEmbeds); } \
  219.   NS_IMETHOD GetSelection(nsAString & _retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSelection(_retval); } \
  220.   NS_IMETHOD Open(const nsACString & aContentType, PRBool aReplace, nsIDOMDocument **_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->Open(aContentType, aReplace, _retval); } \
  221.   NS_IMETHOD Write(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->Write(); } \
  222.   NS_IMETHOD Writeln(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->Writeln(); } \
  223.   NS_IMETHOD Clear(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->Clear(); } \
  224.   NS_IMETHOD CaptureEvents(PRInt32 eventFlags) { return !_to ? NS_ERROR_NULL_POINTER : _to->CaptureEvents(eventFlags); } \
  225.   NS_IMETHOD ReleaseEvents(PRInt32 eventFlags) { return !_to ? NS_ERROR_NULL_POINTER : _to->ReleaseEvents(eventFlags); } \
  226.   NS_IMETHOD RouteEvent(nsIDOMEvent *evt) { return !_to ? NS_ERROR_NULL_POINTER : _to->RouteEvent(evt); } \
  227.   NS_IMETHOD GetCompatMode(nsAString & aCompatMode) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCompatMode(aCompatMode); } \
  228.   NS_IMETHOD GetPlugins(nsIDOMHTMLCollection * *aPlugins) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPlugins(aPlugins); } \
  229.   NS_IMETHOD GetDesignMode(nsAString & aDesignMode) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDesignMode(aDesignMode); } \
  230.   NS_IMETHOD SetDesignMode(const nsAString & aDesignMode) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetDesignMode(aDesignMode); } \
  231.   NS_IMETHOD ExecCommand(const nsAString & commandID, PRBool doShowUI, const nsAString & value, PRBool *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->ExecCommand(commandID, doShowUI, value, _retval); } \
  232.   NS_IMETHOD ExecCommandShowHelp(const nsAString & commandID, PRBool *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->ExecCommandShowHelp(commandID, _retval); } \
  233.   NS_IMETHOD QueryCommandEnabled(const nsAString & commandID, PRBool *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->QueryCommandEnabled(commandID, _retval); } \
  234.   NS_IMETHOD QueryCommandIndeterm(const nsAString & commandID, PRBool *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->QueryCommandIndeterm(commandID, _retval); } \
  235.   NS_IMETHOD QueryCommandState(const nsAString & commandID, PRBool *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->QueryCommandState(commandID, _retval); } \
  236.   NS_IMETHOD QueryCommandSupported(const nsAString & commandID, PRBool *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->QueryCommandSupported(commandID, _retval); } \
  237.   NS_IMETHOD QueryCommandText(const nsAString & commandID, nsAString & _retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->QueryCommandText(commandID, _retval); } \
  238.   NS_IMETHOD QueryCommandValue(const nsAString & commandID, nsAString & _retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->QueryCommandValue(commandID, _retval); } 
  239.  
  240. #if 0
  241. /* Use the code below as a template for the implementation class for this interface. */
  242.  
  243. /* Header file */
  244. class nsDOMNSHTMLDocument : public nsIDOMNSHTMLDocument
  245. {
  246. public:
  247.   NS_DECL_ISUPPORTS
  248.   NS_DECL_NSIDOMNSHTMLDOCUMENT
  249.  
  250.   nsDOMNSHTMLDocument();
  251.  
  252. private:
  253.   ~nsDOMNSHTMLDocument();
  254.  
  255. protected:
  256.   /* additional members */
  257. };
  258.  
  259. /* Implementation file */
  260. NS_IMPL_ISUPPORTS1(nsDOMNSHTMLDocument, nsIDOMNSHTMLDocument)
  261.  
  262. nsDOMNSHTMLDocument::nsDOMNSHTMLDocument()
  263. {
  264.   /* member initializers and constructor code */
  265. }
  266.  
  267. nsDOMNSHTMLDocument::~nsDOMNSHTMLDocument()
  268. {
  269.   /* destructor code */
  270. }
  271.  
  272. /* readonly attribute long width; */
  273. NS_IMETHODIMP nsDOMNSHTMLDocument::GetWidth(PRInt32 *aWidth)
  274. {
  275.     return NS_ERROR_NOT_IMPLEMENTED;
  276. }
  277.  
  278. /* readonly attribute long height; */
  279. NS_IMETHODIMP nsDOMNSHTMLDocument::GetHeight(PRInt32 *aHeight)
  280. {
  281.     return NS_ERROR_NOT_IMPLEMENTED;
  282. }
  283.  
  284. /* attribute DOMString alinkColor; */
  285. NS_IMETHODIMP nsDOMNSHTMLDocument::GetAlinkColor(nsAString & aAlinkColor)
  286. {
  287.     return NS_ERROR_NOT_IMPLEMENTED;
  288. }
  289. NS_IMETHODIMP nsDOMNSHTMLDocument::SetAlinkColor(const nsAString & aAlinkColor)
  290. {
  291.     return NS_ERROR_NOT_IMPLEMENTED;
  292. }
  293.  
  294. /* attribute DOMString linkColor; */
  295. NS_IMETHODIMP nsDOMNSHTMLDocument::GetLinkColor(nsAString & aLinkColor)
  296. {
  297.     return NS_ERROR_NOT_IMPLEMENTED;
  298. }
  299. NS_IMETHODIMP nsDOMNSHTMLDocument::SetLinkColor(const nsAString & aLinkColor)
  300. {
  301.     return NS_ERROR_NOT_IMPLEMENTED;
  302. }
  303.  
  304. /* attribute DOMString vlinkColor; */
  305. NS_IMETHODIMP nsDOMNSHTMLDocument::GetVlinkColor(nsAString & aVlinkColor)
  306. {
  307.     return NS_ERROR_NOT_IMPLEMENTED;
  308. }
  309. NS_IMETHODIMP nsDOMNSHTMLDocument::SetVlinkColor(const nsAString & aVlinkColor)
  310. {
  311.     return NS_ERROR_NOT_IMPLEMENTED;
  312. }
  313.  
  314. /* attribute DOMString bgColor; */
  315. NS_IMETHODIMP nsDOMNSHTMLDocument::GetBgColor(nsAString & aBgColor)
  316. {
  317.     return NS_ERROR_NOT_IMPLEMENTED;
  318. }
  319. NS_IMETHODIMP nsDOMNSHTMLDocument::SetBgColor(const nsAString & aBgColor)
  320. {
  321.     return NS_ERROR_NOT_IMPLEMENTED;
  322. }
  323.  
  324. /* attribute DOMString fgColor; */
  325. NS_IMETHODIMP nsDOMNSHTMLDocument::GetFgColor(nsAString & aFgColor)
  326. {
  327.     return NS_ERROR_NOT_IMPLEMENTED;
  328. }
  329. NS_IMETHODIMP nsDOMNSHTMLDocument::SetFgColor(const nsAString & aFgColor)
  330. {
  331.     return NS_ERROR_NOT_IMPLEMENTED;
  332. }
  333.  
  334. /* attribute DOMString domain; */
  335. NS_IMETHODIMP nsDOMNSHTMLDocument::GetDomain(nsAString & aDomain)
  336. {
  337.     return NS_ERROR_NOT_IMPLEMENTED;
  338. }
  339. NS_IMETHODIMP nsDOMNSHTMLDocument::SetDomain(const nsAString & aDomain)
  340. {
  341.     return NS_ERROR_NOT_IMPLEMENTED;
  342. }
  343.  
  344. /* readonly attribute nsIDOMHTMLCollection embeds; */
  345. NS_IMETHODIMP nsDOMNSHTMLDocument::GetEmbeds(nsIDOMHTMLCollection * *aEmbeds)
  346. {
  347.     return NS_ERROR_NOT_IMPLEMENTED;
  348. }
  349.  
  350. /* DOMString getSelection (); */
  351. NS_IMETHODIMP nsDOMNSHTMLDocument::GetSelection(nsAString & _retval)
  352. {
  353.     return NS_ERROR_NOT_IMPLEMENTED;
  354. }
  355.  
  356. /* nsIDOMDocument open (in ACString aContentType, in boolean aReplace); */
  357. NS_IMETHODIMP nsDOMNSHTMLDocument::Open(const nsACString & aContentType, PRBool aReplace, nsIDOMDocument **_retval)
  358. {
  359.     return NS_ERROR_NOT_IMPLEMENTED;
  360. }
  361.  
  362. /* void write (); */
  363. NS_IMETHODIMP nsDOMNSHTMLDocument::Write()
  364. {
  365.     return NS_ERROR_NOT_IMPLEMENTED;
  366. }
  367.  
  368. /* void writeln (); */
  369. NS_IMETHODIMP nsDOMNSHTMLDocument::Writeln()
  370. {
  371.     return NS_ERROR_NOT_IMPLEMENTED;
  372. }
  373.  
  374. /* void clear (); */
  375. NS_IMETHODIMP nsDOMNSHTMLDocument::Clear()
  376. {
  377.     return NS_ERROR_NOT_IMPLEMENTED;
  378. }
  379.  
  380. /* void captureEvents (in long eventFlags); */
  381. NS_IMETHODIMP nsDOMNSHTMLDocument::CaptureEvents(PRInt32 eventFlags)
  382. {
  383.     return NS_ERROR_NOT_IMPLEMENTED;
  384. }
  385.  
  386. /* void releaseEvents (in long eventFlags); */
  387. NS_IMETHODIMP nsDOMNSHTMLDocument::ReleaseEvents(PRInt32 eventFlags)
  388. {
  389.     return NS_ERROR_NOT_IMPLEMENTED;
  390. }
  391.  
  392. /* void routeEvent (in nsIDOMEvent evt); */
  393. NS_IMETHODIMP nsDOMNSHTMLDocument::RouteEvent(nsIDOMEvent *evt)
  394. {
  395.     return NS_ERROR_NOT_IMPLEMENTED;
  396. }
  397.  
  398. /* readonly attribute DOMString compatMode; */
  399. NS_IMETHODIMP nsDOMNSHTMLDocument::GetCompatMode(nsAString & aCompatMode)
  400. {
  401.     return NS_ERROR_NOT_IMPLEMENTED;
  402. }
  403.  
  404. /* readonly attribute nsIDOMHTMLCollection plugins; */
  405. NS_IMETHODIMP nsDOMNSHTMLDocument::GetPlugins(nsIDOMHTMLCollection * *aPlugins)
  406. {
  407.     return NS_ERROR_NOT_IMPLEMENTED;
  408. }
  409.  
  410. /* attribute DOMString designMode; */
  411. NS_IMETHODIMP nsDOMNSHTMLDocument::GetDesignMode(nsAString & aDesignMode)
  412. {
  413.     return NS_ERROR_NOT_IMPLEMENTED;
  414. }
  415. NS_IMETHODIMP nsDOMNSHTMLDocument::SetDesignMode(const nsAString & aDesignMode)
  416. {
  417.     return NS_ERROR_NOT_IMPLEMENTED;
  418. }
  419.  
  420. /* boolean execCommand (in DOMString commandID, in boolean doShowUI, in DOMString value); */
  421. NS_IMETHODIMP nsDOMNSHTMLDocument::ExecCommand(const nsAString & commandID, PRBool doShowUI, const nsAString & value, PRBool *_retval)
  422. {
  423.     return NS_ERROR_NOT_IMPLEMENTED;
  424. }
  425.  
  426. /* boolean execCommandShowHelp (in DOMString commandID); */
  427. NS_IMETHODIMP nsDOMNSHTMLDocument::ExecCommandShowHelp(const nsAString & commandID, PRBool *_retval)
  428. {
  429.     return NS_ERROR_NOT_IMPLEMENTED;
  430. }
  431.  
  432. /* boolean queryCommandEnabled (in DOMString commandID); */
  433. NS_IMETHODIMP nsDOMNSHTMLDocument::QueryCommandEnabled(const nsAString & commandID, PRBool *_retval)
  434. {
  435.     return NS_ERROR_NOT_IMPLEMENTED;
  436. }
  437.  
  438. /* boolean queryCommandIndeterm (in DOMString commandID); */
  439. NS_IMETHODIMP nsDOMNSHTMLDocument::QueryCommandIndeterm(const nsAString & commandID, PRBool *_retval)
  440. {
  441.     return NS_ERROR_NOT_IMPLEMENTED;
  442. }
  443.  
  444. /* boolean queryCommandState (in DOMString commandID); */
  445. NS_IMETHODIMP nsDOMNSHTMLDocument::QueryCommandState(const nsAString & commandID, PRBool *_retval)
  446. {
  447.     return NS_ERROR_NOT_IMPLEMENTED;
  448. }
  449.  
  450. /* boolean queryCommandSupported (in DOMString commandID); */
  451. NS_IMETHODIMP nsDOMNSHTMLDocument::QueryCommandSupported(const nsAString & commandID, PRBool *_retval)
  452. {
  453.     return NS_ERROR_NOT_IMPLEMENTED;
  454. }
  455.  
  456. /* DOMString queryCommandText (in DOMString commandID); */
  457. NS_IMETHODIMP nsDOMNSHTMLDocument::QueryCommandText(const nsAString & commandID, nsAString & _retval)
  458. {
  459.     return NS_ERROR_NOT_IMPLEMENTED;
  460. }
  461.  
  462. /* DOMString queryCommandValue (in DOMString commandID); */
  463. NS_IMETHODIMP nsDOMNSHTMLDocument::QueryCommandValue(const nsAString & commandID, nsAString & _retval)
  464. {
  465.     return NS_ERROR_NOT_IMPLEMENTED;
  466. }
  467.  
  468. /* End of implementation class template. */
  469. #endif
  470.  
  471.  
  472. #endif /* __gen_nsIDOMNSHTMLDocument_h__ */
  473.